#ifndef ZIPREADER_H
#define	ZIPREADER_H

#include <list>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "FileHeader.h"

class ZipReader
{
public:
    
    ZipReader(const char* filePath);
    ~ZipReader();

    std::list<FileHeader*> extractFileHeaders();

    FileHeader* extractFileHeaderFields(int offset);
    bool hasNextFileHeader(int offset);
    long fileSize(FILE* inputFile);
    
private:
    FILE* file_;
};

#endif	/* ZIPREADER_H */


